/*
 * 
 * 
 */

package DigimonAdventure.Database;

/**
 *
 * @author Kris Derril Siregar
 */
public enum Strata {
    Baby(1),
    Child(2),
    Adult(3);

    private int mul;

    private Strata(int mul) {
        this.mul = mul;
    }
    public int getMul(){
        return mul;
    }
    
    public static Strata getStrata(int x){
        if(x < 2){return Baby;}
        else if(x < 5){return Child;}
        else{return Adult;}
    }
}
